import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './utils/element-ui'

// 注册全局组件
import CateList from './components/cate_list.vue'
Vue.component('CateList',CateList)


// 高德地图
// 引入vue-amap
import VueAMap from "vue-amap";
Vue.use(VueAMap);
// 初始化vue-amap
VueAMap.initAMapApiLoader({
  key: "your key", // 这里写你申请的高德地图的key
  plugin: ["AMap.Autocomplete", "AMap.Geocoder", "AMap.Geolocation"],
  v: "1.4.15",
  uiVersion: "1.1"
});

Vue.config.productionTip = false


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
